/*
 * Author: dogguo
 *
 * Time  : 2016/04/30 13:01
 *
 */

#ifndef NET_HTTP_H
#define NET_HTTP_H

#ifdef  __cplusplus
extern "C" {
#endif

int net_http_download(char* url, char* path);

int net_http_get(char* url, char* param, int timeout, char* result_buf);

int net_http_post(char* url, char* param, int timeout, char *result_buf);

#ifdef  __cplusplus
}
#endif

#endif  // NET_HTTP_H
